//
//  AppDelegate+XLTabBarController.m
//  dpapp
//
//  Created by zuoxueliangduyuanzhuo on 2017/5/31.
//  Copyright © 2017年 zuoxueliangduyuanzhuo. All rights reserved.
//

#import "AppDelegate+XLTabBarController.h"
#import "XLNavigationVC.h"
#import "HomeVC.h"
#import "MeVC.h"
#import "OrderVC.h"

@implementation AppDelegate (XLTabBarController)

- (XLTabBarController *)xlTabBarController
{
//    HomeVC *vc1 = [[HomeVC alloc] init];
//    vc1.title = @"首页";
//    vc1.tabBarItem.image = [UIImage imageNamed:@"home_normal"];
//    vc1.tabBarItem.selectedImage = [UIImage imageNamed:@"home_selected"];
//    
//    OrderVC *vc2 = [[OrderVC alloc] initWithNibName:@"XLBaseEmptyTableVC" bundle:nil];
//    vc2.title = @"订单";
//    vc2.tabBarItem.image = [UIImage imageNamed:@"order_normal"];
//    vc2.tabBarItem.selectedImage = [UIImage imageNamed:@"order_selected"];
//    
//    MeVC *vc3 = [[MeVC alloc] initWithNibName:@"XLBaseTableVC" bundle:nil];
//    vc3.title = @"我的";
//    vc3.tabBarItem.image = [UIImage imageNamed:@"me_normal"];
//    vc3.tabBarItem.selectedImage = [UIImage imageNamed:@"me_selected"];
//
//    XLNavigationVC *navC1 = [[XLNavigationVC alloc] initWithRootViewController:vc1];
//    XLNavigationVC *navC2 = [[XLNavigationVC alloc] initWithRootViewController:vc2];
//    XLNavigationVC *navC3 = [[XLNavigationVC alloc] initWithRootViewController:vc3];

    
    /**************************************** Key Code ****************************************/
    
    XLTabBarController *tabBarC = [[XLTabBarController alloc] init];
    
    return tabBarC;

}

@end
